TQARenderAbort
A drawing engine must define a method to cancel any asynchronous drawing requests for a draw context.
typedef TQAError (*TQARenderAbort) ( const TQADrawContext *drawContext);
drawContext
- A draw context.
DESCRIPTION
YourTQARenderAbort
function should immediately stop processing any asynchronous drawing command it is currently processing and it should discard any queued commands associated with the draw context specified by thedrawContext
parameter.Your
TQARenderAbort
function should return a result code (of typeTQAError
) indicating whether any errors have occurred since the previous call to yourTQARenderStart
function. If all rendering commands completed successfully, you should return the valuekQANoErr
. If you return any other value, the code that calledQARenderEnd
should assume that the rendered image is incorrect.